import Vue from 'vue'
import Vant from 'vant'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import '@/assets/css/minireset.min.css'
import '@/assets/css/animate.min.css'
import '@/assets/icon/iconfont.css'

// 触摸滑动插件
import "vant/lib/index.css"
Vue.use(Vant)

Vue.config.productionTip = false

// 定义全局music数据
let musicStore = {
  musicID : null,  // 播放音乐id
  musicList:[],    // 播放列表
  currentMusic: null,  // 当前播放音乐信息
}

new Vue({
  data:{
    musicStore,
    playList: null,
    isPlayer: true,
  },
  router,
  render: h => h(App)
}).$mount('#app')
